package com.example.test.service;

import com.example.test.bean.GoodType;
import com.baomidou.mybatisplus.extension.service.IService;
import com.example.test.common.model.PageModel;
import com.example.test.common.model.R;

/**
 * <p>
 * 基础分类表 服务类
 * </p>
 *
 * @author dz
 * @since 2022-04-10
 */
public interface GoodTypeService extends IService<GoodType> {

    R getTypeByKeyword(String keyword, PageModel pageModel);

    R getTypeById(Long typeId);

    R addType(String typeName);

    R updateType(GoodType goodType);

    R deleteType(Long typeId);


}
